﻿<UserControl
    x:Class="ITPaloozaPlatformSpecific.WindowsStoreApp.Controls.PlaformSpecificWindowsStoreControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ITPaloozaPlatformSpecific.WindowsStoreApp.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:ViewModels="using:ITPaloozaPlatformSpecific.WindowsStoreApp.ViewModels"
    d:DesignHeight="300"
    d:DesignWidth="400">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/WindowsStoreTemplates.xaml"/>
            </ResourceDictionary.MergedDictionaries>
            <ViewModels:MainViewModel x:Key="InternalViewModel"  />
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid DataContext="{Binding Source={StaticResource InternalViewModel}}">
        <ListView ItemsSource="{Binding PriceList}" ItemTemplate="{Binding Source={StaticResource ListViewDataTemplate}}">
        </ListView>
    </Grid>
</UserControl>